]> dgit.raspbian.org Git - gnome-shell.git/commit
authPrompt: Keep password entry on reset
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 13 Feb 2020 21:05:38 +0000 (18:05 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 13 Feb 2020 21:11:16 +0000 (18:11 -0300)
commit7e27a2db3db951d3e2b187d6ab87d5e9b4c5a566
tree08ab3fcf62f0b78448a30e5432a416d506fdb062
parent523eec521c841528e5e3df57580055e08c133960
authPrompt: Keep password entry on reset

Usually, logging in or unlocking the session is made asynchronously,
and AuthPrompt properly manages which entry is currently visible.
External code don't rely on any specific entry to be set, since it
is AuthPrompt's responsibility to select the correct one to be shown.

However, there's one specific case where AuthPrompt must preserve
the password entry: on reset. The reset code preserved whatever
entry was currently displayed, but after fe69dacaf1, it always
changes to the username entry.

Make sure to show the password entry on reset.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/999
js/gdm/authPrompt.js